﻿using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;

namespace LoveEat.MODEL.WeChat
{
    [Serializable]
    [DataContract]
    public class AccessToken
    {
        /// <summary>
        ///     获取到的凭证
        /// </summary>
        [DataMember(Name = "access_token")]
        [Display(Name = "获取到的凭证")]
        public string access_token { get; set; }

        /// <summary>
        ///     凭证有效时间，单位：秒
        /// </summary>
        [DataMember(Name = "expires_in")]
        [Display(Name = "凭证有效时间，单位：秒")]
        public int expires_in { get; set; }
    }
}